package com.shangzhihao.good.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.shangzhihao.good.domain.Brand;
import com.shangzhihao.good.domain.vo.MallGoodsReq;
import com.shangzhihao.good.mapper.GoodMapper;
import com.shangzhihao.good.mapper.MallMapper;
import com.shangzhihao.good.service.GoodService;
import com.shangzhihao.good.service.MallService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Author：尚志豪
 * @Package：com.shangzhihao.good.service.impl
 * @Project：ruoyi
 * @name：GoodServiceImpl
 * @Date：2024/9/14 15:32
 */
@Service
public class MallServiceImpl extends ServiceImpl<MallMapper, MallGoodsReq> implements MallService {
    @Autowired
    private MallMapper mallMapper;
    /**
     * 列表
     */
    @Override
    public List<MallGoodsReq> listResult() {
        return mallMapper.listResult();
    }
    /**
     * 回显
     */
    @Override
    public MallGoodsReq echo(Integer id) {
        return mallMapper.echo(id);
    }
}
